import { Application } from 'pixi.js'
import { stage } from './config/index'

// canvas -> pixi.js 然后初始化 canvas 
// 生成 canvas
export const game = new Application(stage)

// 添加到 body 中
// game.view ==> canvas
document.body.append(game.view)